reconcileElements
This example will detail the steps required in the API to allow reconcile a song. There are various situations where this may apply and we'll give you examples of different ways this may be done.
Message Received always means the message Nexus received and Message Sent is always the message Nexus returns.
Scenario
Nexus Solution
The element has played and now the automation system needs to notify MusicMaster that the element did indeed air. Using a request is made indicate the airTIme and historyId information:
<mmRequest command="reconcileElements" station="TestStation" client="AutomationSystem" userData=""> <contents> <elements> <element airTime="2016-09-01T10:02:45" mode="playStart" runTime="3:27" historyId="357170"/> </elements> </contents> </mmRequest>
The reply from Nexus is a confirmation that the element has been reconciled. This is signified by the Status="ok" portion of the reply.
<mmReply command="reconcileElements" station="TestStation" messageId="4" status="ok"> <contents> <results> <result mode="playStart" songId="218" historyId="357170" status="ok"/> </results> </contents> </mmReply>